table.insert(itemActions,
	function(item, action)
		-- UNIQUE helms
		if not (item.quality == ItemQuality.Unique and
				(item.baseItem.baseType.Type == ItemKind.Circlet or -- no "AnyHelm"
				item.baseItem.baseType.Type == ItemKind.Helm or
				item.baseItem.baseType.Type == ItemKind.PrimalHelm or
				item.baseItem.baseType.Type == ItemKind.Pelt)) then
			return false
		end

		return processItemList(item, action, uniqueHelms)
	end
)

-- see: dir .. "readme.txt" for information regarding itemLists

uniqueHelms = {
-- Normal
	--{"cap", 1, false}, -- Biggin's Bonnet
	{"skp", 1, false}, -- Tarnhelm
	{"hlm", 1, false}, -- Coif of Glory
	{"fhl", 1, false}, -- Duskdeep
	{"ghm", 1, false}, -- Howltusk
	{"msk", 1, false}, -- The Face of Horror
	{"crn", 1, false}, -- Undead Crown
	{"bhm", 1, false}, -- Wormskull
-- Exceptional
	{"xap", 2, false}, -- Peasant Crown
	{"xkp", 2, false}, -- Rockstopper
	{"xlm", 2, false}, -- Stealskull
	--{"xhl", 1, false}, -- Darksight Helm
	{"xhm", 3, true, -- Valkyrie Wing
		function(item)
			-- don't care if eth
			if item.flags.Identified then
				return (
						findStat(item, "Class Skills Bonus") == 2 and -- 2 (perf) skill?
						findStat(item, "Defense Percent") >= 100 -- and 195+ed? (200 perf)
						)
			end

			return true -- unid
		end
	},
	{"ksk", 1, false}, -- Blackhorn's Face
	{"xrn", 8, true, -- Crown of Thieves
		function(item)
			if item.flags.Ethereal then -- keeping all eth
				return true
			end

			if item.flags.Identified then
				return (
						findStat(item, "Defense Percent") >= 50 or -- 90+ed? (200 perf)
						findStat(item, "Gold Find") >= 50 -- and 80% goldfind (100 perf)
						)
			end

			return true -- unid
		end
	},
	{"xh9", 8, true, -- Vampire Gaze
		function(item)
			if item.flags.Ethereal then -- keeping all eth
				return true
			end
			if item.flags.Identified then
				return (
						findStat(item, "Damage Resist") >= 10 -- 20 (perf) dr? (8ll, 8ml perf)
						)
			end

			return true -- unid
		end
	},
-- Elite
	{"uap", 8, false}, -- Harlequin Crest
	{"ulm", 2, false}, -- Steel Shade
	{"uhm", 8, false}, -- Veil of Steel or Nightwing's Veil
	{"usk", 9, false}, -- Andariel's Visage
	{"urn", 9, false}, -- Crown of Ages -- keeping all
	{"uh9", 6, true, -- Giant Skull
		function(item)
			-- don't care if eth
			if item.flags.Identified then
				return (findStat(item, "Sockets") >= 1)  -- 2 (perf) soc? (+320def, 35str perf)
			end

			return true -- unid
		end
	},
-- Circlets
	{"ci2", 6, false}, -- Kira's Guardian
	{"ci3", 9, false}, -- Griffon's Eye -- keeping all
-- Barbarian
	{"baa", 8, false}, -- Arreat's Face
	{"bac", 3, false}, -- Wolfhowl
	{"bad", 3, false}, -- Demonhorn's Edge
	{"bae", 3, false}, -- Halaberd's Reign
-- Druid
	{"dra", 3, false}, -- Jalal's Mane
	{"drb", 5, false}, -- Cerebus' Bite
	{"dre", 5, false}, -- Ravenlore
	{"drd", 3, false} -- Spirit Keeper
}